From: Jonas Dreßler Date: Sun, 19 Jan 2020 17:01:57 +0000 (+0100) Subject: lightbox: Change vignette brightness to 0.5 X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~182 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=765895fb19fc775da4ffef50e4c376c743f3758d;p=gnome-shell.git lightbox: Change vignette brightness to 0.5 Since the overview search results now have a dark background layer, we can brighten the background image a bit again. As a factor we use 0.5, since that ensures the texts in the IconGrid are still readable and the background image is visible, too. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2133 --- diff --git a/js/ui/lightbox.js b/js/ui/lightbox.js index 5446696a8..4f265af42 100644 --- a/js/ui/lightbox.js +++ b/js/ui/lightbox.js @@ -6,7 +6,7 @@ const { Clutter, GObject, Shell, St } = imports.gi; const Params = imports.misc.params; var DEFAULT_FADE_FACTOR = 0.4; -var VIGNETTE_BRIGHTNESS = 0.2; +var VIGNETTE_BRIGHTNESS = 0.5; var VIGNETTE_SHARPNESS = 0.7; const VIGNETTE_DECLARATIONS = '\